package cn.com.yusys.yusp.admin.domain;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @Author: zoie
 * @Description: 角色网格等级
 * @Date: 2021/7/7 12:30 下午
 * @Version: 1.0
 */
@Component
public class RoleLevelProperties {
    public static String ROLELEVEL1;
    public static String ROLELEVEL2;
    public static String ROLELEVEL3;

    @Value("${roleLevel.roleLevel1}")
    private String roleLevel1;
    @Value("${roleLevel.roleLevel2}")
    private String roleLevel2;
    @Value("${roleLevel.roleLevel3}")
    private String roleLevel3;

    @PostConstruct
    public void init() {
        ROLELEVEL1 = roleLevel1;
        ROLELEVEL2 = roleLevel2;
        ROLELEVEL3 = roleLevel3;
    }


}
